runtime.g.atomicstatus (field)
10 uses
runtime (current package)
proc.go#L977: return gp.atomicstatus.Load()
proc.go#L999: success = gp.atomicstatus.CompareAndSwap(oldval, newval)
proc.go#L1019: r := gp.atomicstatus.CompareAndSwap(oldval, newval)
proc.go#L1059: for i := 0; !gp.atomicstatus.CompareAndSwap(oldval, newval); i++ {
proc.go#L1060: if oldval == _Gwaiting && gp.atomicstatus.Load() == _Grunnable {
proc.go#L1067: for x := 0; x < 10 && gp.atomicstatus.Load() != oldval; x++ {
proc.go#L1160: if gp.atomicstatus.CompareAndSwap(oldstatus, _Gcopystack) {
proc.go#L1175: for !gp.atomicstatus.CompareAndSwap(_Grunning, _Gscan|_Gpreempted) {
proc.go#L1187: return gp.atomicstatus.CompareAndSwap(_Gpreempted, _Gwaiting)
runtime2.go#L445: atomicstatus atomic.Uint32
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |